package com.learn.quartz.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @description: java类作用描述
 * @author: MI
 * @email: 448341911@qq.com
 * @createDate: 2023/10/28 20:30
 * @updateUser: MI
 * @updateDate: 2023/10/28 20:30
 * @updateRemark: 修改内容
 * @version: v1.0
 */
@Slf4j
@Component("getTimeTask")
public class GetTimeTask implements TaskService {


    @Override
    public void run(String params) {
        log.info("params=====>>" + params);
        log.info("GetTimeTask ===> job:" + LocalDate.now() + " " + LocalTime.now());
    }
}
